package dwl.graduation.design.service;

import dwl.graduation.design.domain.*;
import dwl.graduation.design.utils.PageResult;
import dwl.graduation.design.utils.QueryPageBean;

public interface UserService {
    PageResult findUserList(QueryPageBean queryPageBean);

    boolean insertUserInfo(UserInfoInsertRequest request);

    void deleteUserInfo(Integer id);

    boolean updateUserInfo(UserInfoUpdateRequest userInfoUpdateRequest);

    UserInfo findUserByUserName(String userName);

    UserResponse findUserById(Integer id);

    boolean insertRoleForUser(InsertRoleForUserRequest insertRoleForUserRequest);
}
